﻿ALTER TABLE [cex].[TemplateHierarchy]
    ADD CONSTRAINT [FK_TemplateHierarchy_ChildId] FOREIGN KEY ([ChildId]) REFERENCES [cex].[Template] ([Id]) ON DELETE NO ACTION ON UPDATE NO ACTION;

